<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta charset="utf-8"/>
<title>Đăng ký</title>
<link rel="stylesheet" href="Css/cc.css"></link>
</head>
<body>
<div class="wrapper">
<?php include 'menu.php';?>
<div class="content">
    <div class="regis">
        <div class="regis_body">
            <script src="JS/regjs.js"></script> 
        Đăng ký thành viên!<br></br>
        <form name="frmregis" method="post" onsubmit="return  validate_addnew()" action="afterregis.php" >
            <div><input type="text" name="txtname" placeholder="Tên"></input></div>
            <div><input type="text" name="txtlast" placeholder="Họ"></input></div>
            <div><input type="text" name="txtuser" placeholder="Tên đăng nhập"></input></div>
            <div><input type="password" name="txtpass" placeholder="Mật khẩu"></input></div>
            <div><input type="password" name="txtrepass" placeholder="Nhập lại mật khẩu"></input></div>
            <div>Giới tính: <input type="radio" name="radio" value="1"></input> Nam <input type="radio"name="radio" value="0"></input> Nữ</div>
            <div>
                <div class="regis_select">
                <p>
                    <select name="Day">
                        <script language="javascript">
                            for(var i=1;i<=31;i++)
                            document.write("<option value="+i+">"+i+"</option>");
                        </script>
                    </select>
                    <select name="Month">
			<script language="javascript">
                            for(var i=1;i<=12;i++)
                            document.write("<option value="+i+">"+i+"</option>");
			</script>
                    </select>
                    <select name="Year">
                        <script language="javascript">
                            for(var i=2015;i>=1900;i--)
                            document.write("<option value="+i+">"+i+"</option>");
			</script>
                    </select>
                </p>
                </div>
            </div>
            <div><input class="regis_button" type="submit" name="btnreg" value="Đăng ký" ></input></div>
        </form>
        </div>
    </div>
</div>
<div class="footer">
We are... Mr.Chuot Tru, Mr.Minh Ho
<hr  width="20%" style="margin-left:40%; margin-top:8px;"/>
<pre><br /><br />
Coppyright: Aitieducation
</pre>
</div>
</div>
</body>
</html>